package org.fglxy.mockserver.dto;

/**
 * 创建mock客户端
 * 
 * @author xiaoyangliu
 *
 */
public class CreateMockRequest extends BaseObject {
	// mock ID，为空则新建，不为空则修改
	private String id;
	// 是mock client还是mock server
	private boolean serverFlag;
	// 服务器ip
	private String serverIp;
	// 服务器端口
	private Integer serverPort;
	// 如果是mock server，那么真正的server地址(如果mock不处理对应协议，则透传给real server)
	private String realServerIp;
	// 同上，这个是端口
	private Integer realServerPort;
	// mock任务名称
	private String name;
	// mock任务说明
	private String descript;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public boolean isServerFlag() {
		return serverFlag;
	}
	public void setServerFlag(boolean serverFlag) {
		this.serverFlag = serverFlag;
	}
	public String getServerIp() {
		return serverIp;
	}
	public void setServerIp(String serverIp) {
		this.serverIp = serverIp;
	}
	public Integer getServerPort() {
		return serverPort;
	}
	public void setServerPort(Integer serverPort) {
		this.serverPort = serverPort;
	}
	public String getRealServerIp() {
		return realServerIp;
	}
	public void setRealServerIp(String realServerIp) {
		this.realServerIp = realServerIp;
	}
	public Integer getRealServerPort() {
		return realServerPort;
	}
	public void setRealServerPort(Integer realServerPort) {
		this.realServerPort = realServerPort;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDescript() {
		return descript;
	}
	public void setDescript(String descript) {
		this.descript = descript;
	}

}
